﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

#region License
/*
 *  Copyright (c) Dumuzi.cn 2009 , All rights reserved.
 *  CLR Version:  2.0.50727.4927
 *  NameSpace: Summer.Web.Support
 *  Author:Edwin Tai,戴佳顺
 *  Msn:edwin19861218@hotmail.com
 *  QQ: 1961218
 *  Date:2009/10/27 16:37:20
 *  Licensed under the Microsoft Public License (Ms-PL)
 *  This license governs use of the accompanying software. 
 *  If you use the software, you accept this license.
 *  If you do not accept the license, do not use the software.
 */
#endregion

namespace Summer.Log
{
    public interface ILog
    {
        void Debug(object message);
        void Debug(string message, params object[] args);
        void Debug(object message, System.Exception exception);
        void Error(object message);
        void Error(string message, params object[] args);
        void Error(object message, System.Exception exception);
        void Fatal(object message);
        void Fatal(string message, params object[] args);
        void Fatal(object message, System.Exception exception);
        void Info(object message);
        void Info(string message, params object[] args);
        void Info(object message, System.Exception exception);
        void Trace(object message);
        void Trace(string message, params object[] args);
        void Trace(object message, System.Exception exception);
        void Warn(object message);
        void Warn(string message, params object[] args);
        void Warn(object message, System.Exception exception);
    }
}
